home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Plus 2007
/
Programmer-Plus-2007.iso
/
Programming
/
High Level Languages
/
Turbo C v3.0
/
Tc3setup.exe
/
EXAMPLES
/
INTRO24.CPP
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-02-18
|
253 b
|
17 lines
// INTRO24.CPP--Example from Chapter 3, "An Introduction to C++"
#include <iostream.h>
int main()
{
int num = 0;
while (num++ <= 10)
{
if (num % 2 != 0)
continue;
cout << '\n' << num;
}
return 0;
}